package com.example.chapter12.design.singleton.demo4;

public enum SingletonEnum {

    INSTANCE;
    private final Singleton singleton;
    SingletonEnum(){
        singleton = new Singleton();
    }
    public Singleton getSingleton(){
        return singleton;
    }
}
